﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>网上办事大厅首页</title>
    <link rel="stylesheet" type="text/css" href="App_Themes/SkinFile/CSS/gcpage.css" />
    
    <link rel="stylesheet" type="text/css" href="App_Themes/SkinFile/CSS/StyleSheet.css" />
    <script type="text/javascript" src="ScriptFile/jquery.js"></script>
    <script type="text/javascript" src="ScriptFile/cookie.js"></script>
    <script src="ScriptFile/Common/Jquery.Global.js" type="text/javascript"></script>
    <script src="ScriptFile/Common/Jquery.Common.js" type="text/javascript"></script>
    <script src="ScriptFile/loginValide.js" type="text/javascript"></script>
    <script type="text/javascript">
        //打开用户注册页面
        function clickRegister() {
            window.open("UserRegister/UserReg.aspx");
        }

        //初始加载
        $(document).ready(function () {
            //加载顶部页面
            $("#tdTop").load("Top.htm", function () {
                $("#ucPageHead1_labMsg").html(GetCurrentDate());
                $("#btnReturn").css("display", "none");
            });

            //加载底部数据
            $("#divBottom").load("Bottom.htm", function () {
                $("#aMain").bind("click", SetPageHome);
            });


            var loginPage = GetConfig("loginPage");
            setCookie('loginPageUrl', loginPage);
        });

        function clickYzm() {
            $('#imgYzm').attr('src', 'CheckCode.aspx?rnd=' + Math.random());
        }

      
        //div控制
        function ControlDiv(strId, strCloseId) {
            $("#" + strId).css("display", 'inline');
            $("#div" + strId).addClass('login_title_bar');
            $("#" + strCloseId).css("display", 'none');
            $("#div" + strCloseId).removeClass('login_title_bar');
        }
    </script>
</head>
<body onkeydown="EnterKeyClick()">
   
        <div id="tdTop" style="margin: 0px auto; text-align: center;" class="page_box">
        </div>
        <div style="text-align: center; margin: 0px auto;border:solid 1px #999999;" class="page_box">
            <div style="width: 350px; height: 220px; border-width: 1px; border-color: #65b3fa;
            margin-top: 10px;border-style: solid; margin-right: auto; margin-left: auto; margin-bottom:20px;">
                <div class="login_bar_center" style="width:100%">
                    <div id="divLoginTitle" style="float: left; margin-left: 10px;" class="login_title_bar">
                        <div style="padding-top: 10px;width: 99px;cursor:pointer;font-size:14px;">
                            用户登录
                        </div>
                    </div>

                </div>
                <table style="border-color: #91A7B4; width: 100%; height:180px; padding-top:25px; font-size:14pt;" border="0" id="LoginTitle">
                    <tr>
                        <td align="right" style=" font-size:14px;">
                            用户名：
                        </td>
                        <td style="text-align: left" style="font-size:14px;">
                            <input style="width: 140px; height: 16px" id="username" class="input" type="text" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="font-size:14px;">
                            密&nbsp;&nbsp;码：
                        </td>
                        <td style="text-align: left" style="font-size:14px;">
                            <input style="width: 140px; height: 16px" id="password" class="input" type="password" />
                        </td>
                    </tr>
                    <tr>
                        <td align="right" style="font-size:14px;">
                            验证码：
                        </td>
                        <td style="text-align: left" style=" font:14px;">
                            <input style="width: 65px; height: 16px" id="txtCheckCode" class="input" type="text" />
                            <img src="CheckCode.aspx" alt="请点击刷新验证码" style="cursor: pointer" width="70px" height="22px"
                                 id="imgYzm" onclick="this.src='CheckCode.aspx?rnd=' + Math.random();" />
                            <a href="#" onclick="clickYzm();">换一张</a>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: center;font-size:14px;" colspan="2">
                            <input id="btnLogin" class="button" onclick='validate()' value="登录" type="button" />
                            <input id="btnRegister" class="button" onclick="clickRegister()" value="注册" type="button" />
                        </td>
                    </tr>
                </table>

            </div>
        </div>
        <div id="divBottom" style="margin: 0px auto; text-align: center;" class="page_box">
        </div>
  
</body>
</html>
